package tsVRPTW;

/**
 * 定义客户节点的属性，两个客户结点构造器
 * @author cxd15
 *
 */
public class CustomerType {

	int Number; // 顾客节点编号
	int R; // 节点所属车辆的编号
	double X, Y; // 顾客节点的横纵坐标
	double Begin, End, Service; // 时间窗（节点的最早访问时间，最迟访问时间，该顾客服务时间）
	double Demand; // 该客户节点需求量
	
//	构造器，初始化客户信息
	public CustomerType() {
		this.Number = 0;
		this.R = 0;
		this.X = 0;
		this.Y = 0;
		this.Begin = 0;
		this.End = 0;
		this.Service = 0;
		this.Demand = 0;
	}
	
//	构造器，初始化客户信息
	public CustomerType(CustomerType c1) {
		this.Number = c1.Number;
		this.R = c1.R;
		this.X = c1.X;
		this.Y = c1.Y;
		this.Begin = c1.Begin;
		this.End = c1.End;
		this.Service = c1.Service;
		this.Demand = c1.Demand;
	}
	
	
}
